<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>canvas+原生js实现立体式文字变换特效</title>
    <style>
        * {margin:0;padding:0;}
        body {background:#000;}
    </style>
</head>
<body>
    <canvas id="canvas" style="position:absolute; top:0; left:0;"></canvas>
    <div id="buffer" style="display:none;"></div>
    <script src="font_change.js"></script>
</body>
</html>